import request from '@/router/axios';
// 获取列表
export const getList = (current, size, params) => {
  return request({
    url: '/api/hg-equipment/repair/task/accept/minor/list',
    method: 'get',
    params: {
      ...params,
      current,
      size,
    }
  })
}
//详情
export const detail = (id) => {
  return request({
    url: '/api/hg-equipment/repair/task/accept/info',
    method: 'get',
    params: {
      id
    }
  })
}
// 验收
export const save = (data) => {
  return request({
    url: '/api/hg-equipment/repair/task/accept/update',
    method: 'post',
    data
  })
}
